// Package dto
// Title  		validation.dto.go
// Description  dto传参包装包
// Author  		alittlexincan@163.com  		2024/07/22 11:36
// Update  		alittlexincan@163.com  		2024/07/22 11:36
package dto

// SearchValidationDto
// Title  			SearchValidationDto
// Description   	自定义验证标签: [v-num-len, v-password]
// Author      		alittlexincan@163.com         2024/07/22 11:36
// swagger:model SearchValidationDto
type SearchValidationDto struct {

	// Id 用户ID
	Id int64 `json:"id" label:"用户ID" validate:"required,numeric,v-num-len=19" example:"1142681887794270208"`

	// Password 密码
	Password string `json:"password" label:"密码" validate:"omitempty,min=6,max=20,v-password" minLength:"6" maxLength:"20" example:"123456"`
}
